﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SunTzu.Core.Authorization
{
    public interface IAuthorization
    {
        bool Login(string username, string password);
        bool IsLogin { get; }
        bool IsAdmin { get; }
        bool HasAuthority(string authorCode);
        void Logout();
    }
}
